<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

class categoryModel  extends Model{
	public function getAllCate()
	{
		 $sql = "SELECT *	
                    FROM category ;
                    ";

        $this->_setSql($sql);
		
        $listCate = $this->getAll();

        if (empty($listCate)) {
            return false;
        }
        return $listCate;
	
	}
}